package com.ltkj.baseplatform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 回收站对象 art_collection
 * 
 * @author liupf
 * @date 2023-08-28
 */
public class ArtCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 栏目或者内容ID */
    @Excel(name = "栏目或者内容ID")
    private Long contentId;

    /** 栏目或者内容名称 */
    @Excel(name = "栏目或者内容名称")
    private String collectName;

    /** 类型(0栏目,1内容) */
    @Excel(name = "类型(0栏目,1内容)")
    private String type;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setCollectName(String collectName) 
    {
        this.collectName = collectName;
    }

    public String getCollectName() 
    {
        return collectName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contentId", getContentId())
            .append("collectName", getCollectName())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("isDel", getIsDel())
            .append("remark", getRemark())
            .toString();
    }
}
